package del4;

public class OpgB{
	public static void main(String[] args) {
		new Thread(){
			public void run(){
				System.out.println("Let's interrupt this.. [" + System.currentTimeMillis() + "]");
				interrupt();
				try{
					System.out.println("Let's try to go to sleep! [" + System.currentTimeMillis() + "]");
					sleep(60000);
				}catch(InterruptedException iex){
					System.out.println("Oh no, wakey wakey! [" + System.currentTimeMillis() + "]");
				}
			}
		}.start();
	}
}
